package com.bd.scm.domain.models.repairAttendance;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "bd_view_repair_master")
public class RepairMasterView implements Serializable {

    @TableId(value = "order_id")
    @ApiModelProperty(value="")
    private Long orderId;

    @TableField(value = "order_no")
    @ApiModelProperty(value="")
    private String orderNo;

    @TableField(value = "start_date")
    @ApiModelProperty(value="")
    private Date startDate;

    @TableField(value = "end_date")
    @ApiModelProperty(value="")
    private Date endDate;

    @TableField(value = "people_num")
    @ApiModelProperty(value="")
    private Integer peopleNum;

    @TableField(value = "remark")
    @ApiModelProperty(value="")
    private String remark;

    @TableField(value = "creater_id")
    @ApiModelProperty(value="")
    private Long createrId;

    @TableField(value = "create_time")
    @ApiModelProperty(value="")
    private Date createTime;

    @TableField(value = "is_del")
    @ApiModelProperty(value="")
    private Integer isDel;

    @TableField(value = "status_name")
    @ApiModelProperty(value="")
    private String statusName;

    @TableField(value = "status")
    @ApiModelProperty(value="")
    private Integer status;

    @TableField(value = "approver1")
    @ApiModelProperty(value="")
    private String approver1;

    @TableField(value = "approver2")
    @ApiModelProperty(value="")
    private String approver2;

    @TableField(value = "last_operator")
    @ApiModelProperty(value="")
    private Long lastOperator;

    @TableField(value = "last_operate_time")
    @ApiModelProperty(value="")
    private Date lastOperateTime;

    @TableField(value = "reject_reason")
    @ApiModelProperty(value="")
    private String rejectReason;

    @TableField(value = "last_approver")
    @ApiModelProperty(value="")
    private Long lastApprover;

    @TableField(value = "last_approver_name")
    @ApiModelProperty(value="")
    private String lastApproverName;

    @TableField(value = "last_approver_time")
    @ApiModelProperty(value="")
    private Date lastApproverTime;

    @TableField(value = "applier_no")
    @ApiModelProperty(value="")
    private String applierNo;

    @TableField(value = "applier_name")
    @ApiModelProperty(value="")
    private String applierName;

    @TableField(value = "applier_dept_id")
    @ApiModelProperty(value="")
    private Integer applierDeptId;

    @TableField(value = "applier_dept_name")
    @ApiModelProperty(value="")
    private String applierDeptName;

    @TableField(value = "approver1_no")
    @ApiModelProperty(value="")
    private String approver1No;

    @TableField(value = "approver1_name")
    @ApiModelProperty(value="")
    private String approver1Name;

    @TableField(value = "approver2_no")
    @ApiModelProperty(value="")
    private String approver2No;

    @TableField(value = "approver2_name")
    @ApiModelProperty(value="")
    private String approver2Name;

    @ApiModelProperty( value = "补打卡类型", notes = "补打卡类型,0：PC端补打卡，1：补上班，2：补下班，3：补上下班", dataType = "Integer", position = 12, required = true)
    private Integer repairType;

    private static final long serialVersionUID = 1L;

}